package a.j;

import a.d.k;

import java.awt.*;
import java.util.ArrayList;
import java.util.List;

public class ib
  implements qb
{
  private List a = new ArrayList(5);
  public static int b;
  
  public void a(qb paramqb)
  {
    this.a.add(paramqb);
  }
  
  public boolean b(qb paramqb)
  {
    return this.a.remove(paramqb);
  }
  
  public Rectangle getBounds()
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    if (!bool2) {
      if (this.a.size() == 0) {
        return new Rectangle(0, 0, -1, -1);
      }
    }
    Rectangle localRectangle = ((qb)this.a.get(0)).getBounds();
    do
    {
      for (int i = 1; !bool1; i++)
      {
        if (i >= this.a.size()) {
          break;
        }
        if ((!bool2) && (bool1)) {
          break label118;
        }
        k.a(localRectangle, ((qb)this.a.get(i)).getBounds(), localRectangle);
      }
    } while (bool2);
    label118:
    return localRectangle;
  }
  
  public void paint(Graphics2D paramGraphics2D)
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    do
    {
      for (int i = 0; !bool1; i++)
      {
        if (i >= this.a.size()) {
          break;
        }
        ((qb)this.a.get(i)).paint(paramGraphics2D);
      }
    } while (bool2);
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.j.ib

 * JD-Core Version:    0.7.0.1

 */